package org.hhgzs.modules.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 平台参数
 * </p>
 *
 * @author peiqy
 * @since 2021-07-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("hx_platform_config")
public class PlatformConfig extends Model<PlatformConfig> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 关键词
     */
    private String platformKey;

    /**
     * 关键词名称
     */
    private String platformKeyInfo;

    /**
     * 值
     */
    private String platformValue;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
